package com.kylin.gulimall.member.feign;

import com.kylin.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("gulimall-coupon")//注册中心服务名称
public interface CouponFeignService {

    //该服务下的请求路径，与其保持一致

    /**
     * 会员优惠券
     *
     * @return
     */
    @RequestMapping("/coupon/coupon/member/list")
    public R MemberCoupons();
}
